package com.zktr.service;

import java.util.List;

import com.zktr.dao.GoodsGalleryDao;
import com.zktr.pojo.GoodsGallery;

public class GoodsGalleryService {
	private GoodsGalleryDao dao=new GoodsGalleryDao();
	
	/**
	 * 查询首页轮播图
	 * @return 
	 */
	public List<GoodsGallery> queryIndexSlideshow() {
		return dao.selectIndexSlideshow();
	}
	/**
	 * 查询导航栏左侧广告图
	 * @return 
	 */
	public List<GoodsGallery> queryAdimg() {
		return dao.selectAdimg();
	}
	/**
	 * 查询轮播图右侧广告图
	 * @return 
	 */
	public List<GoodsGallery> queryAdingRight() {
		return dao.selectAdimgRight();
	}
}
